﻿using System;

namespace AbstractFactory
{
    class Program
    {
        static void Main(string[] args)
        {

            IFactory factory = new KmeansFactory();
            IClustering clustring = factory.CreateClustering();
            IParams p = factory.CreateParams();
            Console.WriteLine(clustring.calculate(p));


            Console.ReadLine();
        }
    }
}
